'''
Created on 31 okt 2012

@author: Lanboost
'''
import os
from BaseHTTPServer import *
from CGIHTTPServer import *
def Main():
    
    
    os.chdir(".\\Instagram\\")
    
    
    #print os.getcwd()
    
            
    port = 8080
    httpd = HTTPServer(('', port), CGIHTTPRequestHandler)
    print("Starting simple_httpd on port: " + str(httpd.server_port))
    httpd.serve_forever()

    
Main()